<template>
    <el-card shadow="never">
        <el-form :inline="true" :model="params">
            <el-form-item label="店铺名称">
                <el-input v-model="params.note" placeholder="按店铺名称搜索"></el-input>
            </el-form-item>
            <el-form-item label="品牌名称">
                <el-input v-model="params.note" placeholder="按品牌名称搜索"></el-input>
            </el-form-item>
			<el-form-item label="产品状态">
                <el-select v-model="params.type" placeholder="按产品状态搜索">
                    <el-option label="区域一" value="shanghai"></el-option>
                    <el-option label="区域二" value="beijing"></el-option>
                </el-select>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="onSearch">查询</el-button>
                <el-button type="" @click="resetSearch">重置</el-button>
                <el-button type="" @click="showUpdateModal=true">修改资料</el-button>
            </el-form-item>
        </el-form>
        <el-table :data="table.data" style="width: 100%">
            <el-table-column prop="username" label="品牌名称">
            </el-table-column>
            <el-table-column prop="type" label="所属店铺">
            </el-table-column>
            <el-table-column prop="mote" label="所属公司">
            </el-table-column>
			<el-table-column prop="mote" label="审核状态">
            </el-table-column>
            <el-table-column fixed="right" label="操作" width="120">
                <template #default="scope">
                    <el-button type="text" size="small">查看</el-button>
                </template>
            </el-table-column>
        </el-table>
		<el-pagination
			class="pagination"
			@size-change="onSizeChange"
			@current-change="onCurrentChange"
			:current-page="query.page"
			:page-sizes="[10, 20, 50, 100]"
			:page-size="query.page_size"
			layout="total, sizes, prev, pager, next, jumper"
			:total="table.total">
		</el-pagination>
    </el-card>

	<!--修改资料-->
	<!-- <UpdateModal v-model:show="showUpdateModal"></UpdateModal> -->
</template>

<script>
import tableMixins from '@/mixins/table'
export default {
    name: "pack-apply-list",
	mixins:[tableMixins],
	components:{

	},
    data() {
        return {
            params: {
				type:"1"
			},
			showUpdateModal:false,
        };
    },
    methods: {
		//mixins必须实现的方法
        search(query) {
			console.log('查询');
		},
    },
};
</script>

<style>
</style>
